home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
mailchk4.zip
/
MAILCHEK.DOC
< prev
next >
Wrap
Text File
|
1992-05-17
|
7KB
|
144 lines
MailChek is compliments of ╓┴╖ ╓┴╖
/ ║ ║ ║ ║ \
╤╕ ╤╕ ╕ ╤╕╤╕╒╕ ┌─┬║┬║┬─┬─┬─┬─┬─┬║┬║┬─┐
││ ││ │ │││││ ▀▀▀▀║▀║▀▀▀▀▀▀▀▀▀▀▀║▀║▀▀▀▀
││ ╤╕ ╒╕ ╕ ╒ ╞╡ ╤╕ ╕ ╒╡ ╒╤ ╤╕ ╞╡╞╡╘╕ ╨ ╨ ╨ ╨
││ │ ╒╡ │││ ││ │ │ ││ ││ ╞╛ ││││ │ FIDO 1:369/2
╧╛ ╧ ╘╧ ╘╧╛ ╧╛ ╧ ╘ ╘╧ ╘╡ ╘╛ ╧╛╧╛╘╛ EchoNet 50:5305/2
│ OurNet 65:613/2
Fort Lauderdale, FL ╘╛ WDNet 3090.00
(305) 523-1717 *HST/DS*
MailChek v1.4
(c) 1992 by Rich Waugh
Everyone complains about WildMail's speed tossing inbound mail, but did you
ever notice that WildMail is not exactly A.J. Foyt when scanning for outbound
mail either? Well I certainly did, so I quickly elected not to use WM SCAN
between each call. Instead, I set up several events throughout the day to
scan. This solution saved some down time on the board, but was not entirely
satisfactory either, since outgoing mail might wait up to six hours before
being packed and sent out.
Thus was born MailChek, a little program to check your activity log to see if
it is necessary to scan the message base. It is much faster than WildMail
SCAN. MailChek requires BRUN45.EXE to reside somewhere in your path.
To use MailChek, add it to your PostCall batch file which runs between calls.
The first line added to the batch file should look something like this:
MailChek C:\Wc30\Activity.001
The path to and name of your activity log is passed to MailChek on the
command line (see above). MailChek reads this log to determine whether or not
the last caller left any mail. If not, MailChek exits gracefully and does
nothing. However, if the last caller either entered or uploaded messages via
TomCat, MailChek will create a small file named "MailHere.Chk". Check for the
existence of MailHere.Chk in your batch file to determine what action to
take.
EXAMPLE PostCall.Bat
@Echo Off
MailChek C:\Wc30\Activity.001
If Exist MailHere.Chk Goto SCAN
Goto NO_NEW_MAIL
:SCAN
Del MailHere.Chk
Cd \WildMail
Wm Scan
:NO_NEW_MAIL
Notice that if MailHere.Chk does NOT exist, we simply bypass WM SCAN. Be sure
to delete MailHere.Chk every time you DO scan with WildMail. That's all there
is to it.
Due to numerous requests, some new features have been added to MailChek v1.3.
First, to allow you to define exactly which conferences you wish to check for
new mail, if (not required) there is a file named MailChek.Cfg in the
directory where you run MailChek, MailChek will read this configuration file
to determine which conferences to scan for new mail. If MailChek.Cfg does not
exist MailChek runs as before and scans EVERY conference for new mail.
EXAMPLE MailChek.Cfg
INCLUDE <── Can be either INCLUDE or EXCLUDE
Local ─┐
WildCat! │ The names of the conferences to check (up to 1,000)
MSI_Qmodem │ Spelling and case COUNTS! (MailChek actually checks
FIDO │ for a string so, for example, the line FIDO will flag
000 │ every conference with "FIDO" in the name.)
042 │ You may, if you choose, list conferences by the full
055 │ 3-digit number of the conference.
099 ─┘
If the first line of MailChek.Cfg is "INCLUDE", MailChek will create
MailHere.Chk if the caller left messages in any of the areas listed. If the
first line is "EXCLUDE" MailChek, as you might suspect, will ignore messages
left in those areas.
In addition, two new command line switches have been added to speed up
MailChek: /L at the end of the command line will tell MailChek to check JUST
the last user and NOT scroll through the ENTIRE Activity Log. /V tells
MailChek to check the entire log, but disables the screen writes (which will
slow down MailChek if you have a LARGE log). The command line switch(es) must
be entered after the path/name of your activity log like so:
MailChek C:\Wc30\Activity.001 /V - (Fast) the summary total will include all
messages entered by anyone.
MailChek C:\Wc30\Activity.001 /L - (Faster) the summary will include only
the number of messages entered by the last
caller.
MailChek C:\Wc30\Activity.001 /LV - (Fastest) the summary will include only
the number of messages entered by the last
caller.
──────────────────────────────────────
MailChek is distributed as Nobitchware. I'm not charging anything for it, so
you are NOT entitled to bitch about it!!!
I, for one, am sick and tired of people who solicit money for the dumb little
doors/utilities we all find so indespensible, so this one's on the house. It
is fully functional and contains no time bombs. If you find it handy, give
the DrawBridge a call and thank me. If you don't find it useful, I'll
cheerfully refund double your money! (But you still can't bitch! <g>)
Rich Waugh
──────────────────────────────────────
Sun 05-17-1992
Fixed a problem that occurred if the last entry in the log was an event.
Mr. "EVENT" never seems to leave any mail! <grin>
I'd also like to thank Mark Lautenschlager of Silicon Beach BBS for some
code he contributed to help me enable the /L (last call only) option.
Rich
──────────────────────────────────────
FREE WildCat! 3.x utilities from the DrawBridge
BobCheck - Automatically send each new user a personal "Welcome" message
after they pass BobCat verification. Requires BobCat and Postmstr.
CheckSec - Restrict access to any door or DOS hook based on the caller's age
OR security level.
MailChek - Check if last caller left any messages.
TickFix - Change the file name extention in *.TIC's from LZH or ARJ to ZIP.
For those who convert LZH & ARJ files to ZIP before tossing.
ScrbNtfy - Notify players it is their move in one or more Scrabble door games
via a personal message addressed to them. Requires Postmstr.